<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登陆|Friends Blog</title>
<link rel="stylesheet" href="css/friends.css" />
<link rel="stylesheet" href="../css/friends.css" />
</head>
<body>
<div id="main"  >
	
	
<div id="login">
		<s:form action="loginUser" method="post" >
			<s:actionerror cssClass="error" />
			<table>
				<tr>
					<td>用户名:</td>
					<td><s:textfield name="user.uname" />
					</td>
				</tr>
				<tr>
					<td>密码:</td>
					<td><s:password name="user.password" /></td>
				</tr>
				<tr>
					<td colspan="2"><s:submit value="登录" id="submit"/>
					|
					
					<a href="./jsp/register.jsp">注册</a>
					</td>
				</tr>
			</table>
		</s:form>
		</div>
	</div>
</body>
</html>